package com.zmj.sy.mom.srv.aps.bean.vo.search;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
public class SearchComponentResVo {

    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("交货期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime planEndDateTime;

    @ApiModelProperty("单件数量")
    private BigDecimal partCount;

    @ApiModelProperty("生产总数量")
    private BigDecimal orderCount;

    @ApiModelProperty("物料编号/图编")
    private String materCode;

    @ApiModelProperty("物料信息")
    private String materName;

    @ApiModelProperty("工序链")
    private String workChain;

    @ApiModelProperty("物料重量")
    private BigDecimal materWeight;

    @ApiModelProperty("实际结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime actualEndDateTime;

    @ApiModelProperty("父级")
    private String parentMaterName;

    @ApiModelProperty("ERP项目号")
    private String erpCode;

    @ApiModelProperty("施工号")
    private String constructNo;

    @ApiModelProperty("工单号")
    private String workOrderCode;

}
